home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 65
/
065.d81
/
find address
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
265b
|
11 lines
90 print"[147]":input"enter filename";f$
100 f$="0:"+f$+",p,r":open2,8,2,f$
110 get#2,l$:get#2,h$:close2
120 l=asc(l$+chr$(0)):h=asc(h$+chr$(0))
130 a$="0123456789abcdef"
140 print"[147]the hex address is ";
150 printmid$(a$,int(h/16)+1,1);
160 printmid$(a$,(hand15)+1,1);
170 printmid$(a$,int(l/16)+1,1);
180 printmid$(a$,(land15)+1,1)